package ooday05_vis;


public class EnumTest {
    public static void main(String[] args) {
        Seasons s = Seasons.AUTUMN;
        System.out.println(s.getSeasonName()+"\t"+s.getSeasonDesc());

        Seasons[] seasons=Seasons.values();
        for(int i=0;i<seasons.length;i++){
            System.out.println(seasons[i]);
            System.out.println(seasons[i].getSeasonName());
            System.out.println(seasons[i].getSeasonDesc());
        }
    }
}
